import { createApp } from 'vue'
import App from './App.vue'

//导入axios
import axios from 'axios'

//导入EelementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import './index.css'
import './assets/css/bootstrap.css'

const app = createApp(App)

app.use(ElementPlus)
//配置请求的根路径
// axios.defaults.baseURL = 'http://localhost:3000'
//将axios挂载为全局的$http自定义属性
// app.config.globalProperties.$http = axios

app.mount('#app')
